/**
 * 
 */
package cn.com.checne.model.domain;

import java.io.Serializable;
import java.util.Date;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * @author zy
 *
 */
public class NewsInfo implements Serializable {
	private static final long serialVersionUID = -7926172320700521706L;

	private int newsId ;
	private int cateId ;
	private NewsCategory newsCategory ;
	private int languageId ;
	private LanguageInfo languageInfo ;
	private String title = "" ;
	private String summary = "" ;
	private Date publishDate ;
	private String publishFrom = "" ;
	private String author = "" ;
	/**内容是否使用富编辑框 1=是 0=否*/
	private int contentType = 1 ;
	private String content = "" ;
	private String metaKeyword = "" ;
	private String metaContent = "" ;
	
	private int isShowIndex  ;
	private int isShowList ;
	private int isTop ;
	
	private String firstImage ;
	
	public int getNewsId() {
		return newsId;
	}

	public void setNewsId(int newsId) {
		this.newsId = newsId;
	}

	public int getCateId() {
		return cateId;
	}

	public void setCateId(int cateId) {
		this.cateId = cateId;
	}

	public NewsCategory getNewsCategory() {
		return newsCategory;
	}

	public void setNewsCategory(NewsCategory newsCategory) {
		this.newsCategory = newsCategory;
	}

	public int getLanguageId() {
		return languageId;
	}

	public void setLanguageId(int languageId) {
		this.languageId = languageId;
	}

	public LanguageInfo getLanguageInfo() {
		return languageInfo;
	}

	public void setLanguageInfo(LanguageInfo languageInfo) {
		this.languageInfo = languageInfo;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getSummary() {
		return summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public Date getPublishDate() {
		return publishDate;
	}

	public void setPublishDate(Date publishDate) {
		this.publishDate = publishDate;
	}

	public String getPublishFrom() {
		return publishFrom;
	}

	public void setPublishFrom(String publishFrom) {
		this.publishFrom = publishFrom;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public int getContentType() {
		return contentType;
	}

	public void setContentType(int contentType) {
		this.contentType = contentType;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getMetaKeyword() {
		return metaKeyword;
	}

	public void setMetaKeyword(String metaKeyword) {
		this.metaKeyword = metaKeyword;
	}

	public String getMetaContent() {
		return metaContent;
	}

	public void setMetaContent(String metaContent) {
		this.metaContent = metaContent;
	}

	public int getIsShowIndex() {
		return isShowIndex;
	}

	public void setIsShowIndex(int isShowIndex) {
		this.isShowIndex = isShowIndex;
	}

	public int getIsShowList() {
		return isShowList;
	}

	public void setIsShowList(int isShowList) {
		this.isShowList = isShowList;
	}

	public int getIsTop() {
		return isTop;
	}

	public void setIsTop(int isTop) {
		this.isTop = isTop;
	}

	public String getFirstImage() {
		return firstImage;
	}

	public void setFirstImage(String firstImage) {
		this.firstImage = firstImage;
	}

	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.SHORT_PREFIX_STYLE);
	}
}
